public class State 
{
	private boolean isRunning;
	private boolean isHit;
	private int score;
	private int previousPillar;
	private int currentPillar;
	private int lastGameScore;
	
	public State()
	{
		isRunning = false;
		isHit = false;
		lastGameScore = 0;
	}
	
	public void setIsRunning(boolean b)
	{
		isRunning = b;
	}
	
	public void setIsHit(boolean b)
	{
		isHit = b;
	}
	
	public boolean getIsRunning()
	{
		return isRunning;
	}
	
	public boolean getIsHit()
	{
		return isHit;
	}
	
	public int getScore()
	{
		return score;
	}
	
	public void setScore(int i)
	{
		score = i;
		System.out.println("score:" + score);
	}

	public void setCurrentPillar(int currentPillar) 
	{
		this.currentPillar = currentPillar;
	}

	public int getCurrentPillar() 
	{
		return currentPillar;
	}

	public void setPreviousPillar(int previousPillar) 
	{
		this.previousPillar = previousPillar;
	}

	public int getPreviousPillar() 
	{
		return previousPillar;
	}

	public void setLastGameScore(int lastGameScore) 
	{
		this.lastGameScore = lastGameScore;
	}

	public int getLastGameScore() 
	{
		return lastGameScore;
	}
}